package com.aspose.cells.b.a.a;

import java.util.HashMap;
import java.util.Iterator;

public class zb implements zc {
   private HashMap a;
   private Iterator b;
   private za c;

   public zb(HashMap var1) {
      this.a = var1;
      this.b = this.a.keySet().iterator();
   }

   public Object a() {
      return this.c != null ? this.c.getKey() : null;
   }

   public Object b() {
      return this.c != null ? this.c.getValue() : null;
   }

   public boolean c() {
      boolean var1 = this.b.hasNext();
      if (var1) {
         Object var2 = this.b.next();
         this.c = new za(var2, this.a.get(var2));
      } else {
         this.c = null;
      }

      return var1;
   }
}
